#
# find the unique repeat_number of a list
#
# AUTHOR:timlentse(tinglenxan@gmail.com)
# Date:2014-11-16

    # @param lists (a list of integers with only two repeated number)
    # @return the repeated number 
def findRepeatNumber(lists):
    hashMap = {}
    for i in lists:
        if i in hashMap:
            return i
        else: 
             hashMap[i]=i
    return
testarr = [1,2,3,4,5,56,6,6]
print findRepeatNumber(testarr)